<template>
  <div>
    App: {{ money }}
    <hr />
    <!-- //!#1 父亲通过自定义属性传递数据 -->
    <Child :money="money" />
  </div>
</template>

<script>
import { ref } from 'vue';
import Child from './Child.vue';
export default {
  components: {
    Child
  },
  setup() {
    const money = ref(100)
    return { money }
  }
}
</script>

<style lang="scss" scoped></style>